ns16550: Implement suspend handler.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 8 Jul 2011 07:42:30 +0000 (08:42 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 8 Jul 2011 07:42:30 +0000 (08:42 +0100)
commit7c7a202cce75f550f95b2d16eb2736171ca81ad2
tree4a5b0fe1f9a961d72ac89a2669d274e65f408340
parent1d67ac323c460a096898a2a20e9620528e7ce8ee
ns16550: Implement suspend handler.

For PCI type cards, you need to disable the timer code during
suspend. Otherwise during resume, the timer can be put on the
heap as its being resumed and corrupt it resulting in a crash.

Signed-off-by: Roger Cruz <roger.cruz@virtualcomputer.com>
Signed-off-by: Tom Goetz <tom.goetz@virtualcomputer.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/drivers/char/ns16550.c